package com.ruoyi.bulkegg.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商订单处理记录对象 order_file_process_record
 * 
 * @author ruoyi
 * @date 2025-09-28
 */
public class OrderFileProcessRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 原始压缩包绝对路径 */
    @Excel(name = "原始压缩包绝对路径")
    private String originPath;

    /** 处理后文件夹绝对路径 */
    @Excel(name = "处理后文件夹绝对路径")
    private String targetPath;

    /** 订单馆陶价格（元，保留2位小数） */
    @Excel(name = "订单馆陶价格", readConverterExp = "元=，保留2位小数")
    private BigDecimal orderGuantaoPrice;

    /** 订单所属日期（业务发生日） */
    @Excel(name = "订单所属日期", readConverterExp = "业=务发生日")
    private Date orderBelongDate;

    /** 供应关系公司ID（关联供应商/客户关系表） */
    @Excel(name = "供应关系公司ID", readConverterExp = "关=联供应商/客户关系表")
    private Long supplyRelationCompanyId;

    /** 供货方（上游）公司名称 */
    @Excel(name = "供货方", readConverterExp = "上=游")
    private String supplierCompany;

    /** 贸易商（中游）公司名称 */
    @Excel(name = "贸易商", readConverterExp = "中=游")
    private String traderCompany;

    /** 采购方（下游）公司名称 */
    @Excel(name = "采购方", readConverterExp = "下=游")
    private String buyerCompany;

    /** 给贸易商的包装运输单价（元/件，负值表示扣点差价） */
    @Excel(name = "给贸易商的包装运输单价", readConverterExp = "元=/件，负值表示扣点差价")
    private BigDecimal upstreamDiff;

    /** 给采购方的包装运输单价（元/件，正值表示加价差价） */
    @Excel(name = "给采购方的包装运输单价", readConverterExp = "元=/件，正值表示加价差价")
    private BigDecimal downstreamDiff;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOriginPath(String originPath) 
    {
        this.originPath = originPath;
    }

    public String getOriginPath() 
    {
        return originPath;
    }
    public void setTargetPath(String targetPath) 
    {
        this.targetPath = targetPath;
    }

    public String getTargetPath() 
    {
        return targetPath;
    }
    public void setOrderGuantaoPrice(BigDecimal orderGuantaoPrice) 
    {
        this.orderGuantaoPrice = orderGuantaoPrice;
    }

    public BigDecimal getOrderGuantaoPrice() 
    {
        return orderGuantaoPrice;
    }
    public void setOrderBelongDate(Date orderBelongDate) 
    {
        this.orderBelongDate = orderBelongDate;
    }

    public Date getOrderBelongDate() 
    {
        return orderBelongDate;
    }
    public void setSupplyRelationCompanyId(Long supplyRelationCompanyId) 
    {
        this.supplyRelationCompanyId = supplyRelationCompanyId;
    }

    public Long getSupplyRelationCompanyId() 
    {
        return supplyRelationCompanyId;
    }
    public void setSupplierCompany(String supplierCompany) 
    {
        this.supplierCompany = supplierCompany;
    }

    public String getSupplierCompany() 
    {
        return supplierCompany;
    }
    public void setTraderCompany(String traderCompany) 
    {
        this.traderCompany = traderCompany;
    }

    public String getTraderCompany() 
    {
        return traderCompany;
    }
    public void setBuyerCompany(String buyerCompany) 
    {
        this.buyerCompany = buyerCompany;
    }

    public String getBuyerCompany() 
    {
        return buyerCompany;
    }
    public void setUpstreamDiff(BigDecimal upstreamDiff) 
    {
        this.upstreamDiff = upstreamDiff;
    }

    public BigDecimal getUpstreamDiff() 
    {
        return upstreamDiff;
    }
    public void setDownstreamDiff(BigDecimal downstreamDiff) 
    {
        this.downstreamDiff = downstreamDiff;
    }

    public BigDecimal getDownstreamDiff() 
    {
        return downstreamDiff;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("originPath", getOriginPath())
            .append("targetPath", getTargetPath())
            .append("orderGuantaoPrice", getOrderGuantaoPrice())
            .append("orderBelongDate", getOrderBelongDate())
            .append("supplyRelationCompanyId", getSupplyRelationCompanyId())
            .append("supplierCompany", getSupplierCompany())
            .append("traderCompany", getTraderCompany())
            .append("buyerCompany", getBuyerCompany())
            .append("upstreamDiff", getUpstreamDiff())
            .append("downstreamDiff", getDownstreamDiff())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
